#ifndef __BSP_BUTTON_H__
#define __BSP_BUTTON_H__



#include "config.h"
#include "multi_button.h"


#define BUTTON_NUMBER  3


#define BUTTON1_APBxClock_FUN    	RCC_APB2PeriphClockCmd
#define BUTTON1_APBxClock_CLK    	RCC_APB2Periph_GPIOA
#define BUTTON1_PORT   				GPIOA
#define BUTTON1_PIN    				GPIO_Pin_0      /* KEY1 */
#define BUTTON1_DOWN_LEVEL      	1      			

#define BUTTON2_APBxClock_FUN    	RCC_APB2PeriphClockCmd
#define BUTTON2_APBxClock_CLK    	RCC_APB2Periph_GPIOC
#define BUTTON2_PORT            	GPIOC
#define BUTTON2_PIN             	GPIO_Pin_13   	/* KEY2 */
#define BUTTON2_DOWN_LEVEL      	1      			


void Button_Init(void);



#endif

